package com.xuecheng.framework.model.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @Author: mrt.
 * @Description: 查询结果封装类
 * @Date:Created in 2018/1/24 18:33.
 * @Modified By:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class QueryResult<T> {
    /**
     * 数据列表
     */
    private List<T> list;
    /**
     * 数据总数
     */
    private long total;
}
